package com.xiaoyu.studyworkspace.mapper;

import com.xiaoyu.studyworkspace.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AutoRegisterMapper {
    public EMaUerInfo selectEMaUserInfo(@Param("em_user_id") String em_user_id);

    public void insertEMaUserInfo(EMaUerInfo eMaUerInfo1);

    public void updateEMaUserInfo(EMaUerInfo eMaUerInfo);

    public RegisterUser selectRegisterUserById(@Param("userId")int userId);

    public void insertAutoRegister(AutoRegister autoRegister);

    public void insertBlackPhone(BlackPhone blackPhone);

    public void insertIdentityCard(IdentityCard identityCard);

    public IdentityCard selectOneIdentityCard();

    public void deleteIdentityCardById(@Param("id") int id);

    public List<AutoRegister> selectRegisterBysSupId(@Param("userId")Integer userId);

    public void updateAutoRegister(AutoRegister autoRegister);

    public List<AutoRegister> selectIsHaveRegister(AutoRegister autoRegister);

    public void updateAllUser(AutoRegister autoRegister);

    public ScanPhone selectPhoneExits(@Param("mobile") String mobile);

    public void insertScanPhone(ScanPhone scanPhone);

}
